package sr.codemg.init;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import sr.codemg.service.SysParamsService;

import javax.annotation.PostConstruct;

@Component
public class SystemProcessor {
    @Autowired
    SysParamsService sysParamsService;

    @PostConstruct
    public void init() {
        sysParamsService.refresh();
    }
}
